const Setting = require("./src/setting");
module.exports = {
  publicPath: Setting.publicPath,
  outputDir: Setting.outputDir,
  devServer: {
    publicPath: Setting.publicPath,
    proxy: {
      "/api": {
        target: Setting.apiBaseUrl,
        pathRewrite: { "^api": "" },
        changeOrigin: true,
      },
    },
  },
};
